
<?php if(isset($_GET["id"])): ?>
<?php
	$urlarr=$_GET["id"];
	$partner=Mage::getModel('marketplaceprofile/marketplaceprofile')->getPartnerProfileById($_GET["id"]);	
 ?>
<div class="block">
	<a href="<?php echo $this->getUrl()."marketplacepartner/profile?id=".$urlarr ?>" ><img class="bannerpicrs" src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).'avatar/'.$partner['logopic']; ?>" /></a>
</div>
<?php endif; ?>